const http = require('http')
console.log(11);

const server = http.createServer(function(req, res) {

    console.log('打印1');
    res.setHeader("Content-Type", "text/html;charset=utf-8");
    res.write('你好！');
    res.end();
})
console.log(222);

server.listen(8989)